package com.example.mapper;

import com.example.entity.Account;
import com.example.entity.User;

import java.util.List;

/**
 * @UserMapper
 */
public interface UserMapper {
    void insert(User user);

    void update(User user);

    User selectByUid(Integer uid);

    List<User> selectAll(User user);

    void deleteByUid(Integer uid);

    User selectByAccount(String account);

}
